<?php
include_once("../modules/checkA.php");
include_once("../../config.php"); 
$plate=select_one_line_all_items($table_Prefix."plate","mid = 'member'");
?>


<?
//用来判断当前系统属于什么板块
$system_part = $plate['mid'];
include_once("detail-function.php"); 
?>
 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include ROOT_PATH_.'/controller/common/module/head.php'; ?>
    <?php include 'modules/head.php'; ?>
</head>

<body>

<style>
    body{ padding: 15px; background-color: #ffffff}
    .receipt { background-color: #ffffff;padding: 15px;}
    .receipt h1{ font-size: 30px; text-align: center}
    .receipt #receipt-box{ border: solid 1px #cccccc}
</style>
<div class="receipt">

<h1>收据</h1>

收据编号需要在报名的同时就直接生成这边直接填写选择出纳即可



<form id="receipt-box" method="post" action="detail-edit-function.php?nav-itemed=member" enctype="multipart/form-data" class="layui-form">


 <input type="hidden" name="nid" value="<? echo $detail['nid']?>">
 
 
  <div class="layui-form-item">
    <label class="layui-form-label">姓名</label>
    <div class="layui-input-block">
      <input type="text" name="name" required  lay-verify="required" placeholder="请输入名字" autocomplete="off" class="layui-input" value="<? echo $detail['name']?>">
    </div>
  </div>
  
  
    <div class="layui-form-item">
    <label class="layui-form-label">身份证号</label>
    <div class="layui-input-block">
      <input type="text" name="idnumber" placeholder="请输入身份证号" autocomplete="off" class="layui-input" value="<? echo $detail['idnumber']?>">
    </div>
  
   <div class="layui-form-item">
    <label class="layui-form-label">性别</label>
    <div class="layui-input-block">
      <input type="radio" name="sex" value="男" title="男" 
	  <? if($detail['sex']=="男"){echo "checked";} ?>
	  >
      <input type="radio" name="sex" value="女" title="女" 
	  <? if($detail['sex']=="女"){echo "checked";} ?>
	  >
    </div>
  </div>
  
  
   <div class="layui-form-item">
    <label class="layui-form-label">电话</label>
    <div class="layui-input-block">
      <input type="text" name="phone" placeholder="请输入电话" autocomplete="off" class="layui-input" value="<? echo $detail['phone']?>">
    </div>
  </div>
 
 
    <div class="layui-form-item">
    <label class="layui-form-label">金额</label>
    <div class="layui-input-block">
      <input type="radio" name="cost" value="5500" title="5500" <? if($detail['cost']=="5500"){echo "checked";} ?>>
      <input type="radio" name="cost" value="6500" title="6500" <? if($detail['cost']=="6500"){echo "checked";} ?>>
    </div>
  </div>
  
  
  
     <div class="layui-form-item">
    <label class="layui-form-label">收款状态</label>
    <div class="layui-input-block">
      <input type="radio" name="status" value="未收款" title="未收款" <? if($detail['status']=="未收款"){echo "checked";} ?>>
      <input type="radio" name="status" value="已收款" title="已收款" <? if($detail['status']=="已收款"){echo "checked";} ?>>
    </div>
  </div>
  
  
 
 
  <div class="layui-form-item">
    <label class="layui-form-label">学驾车型</label>
    <div class="layui-input-block">
      <select name="license"><i class="layui-icon"></i>>
        <option value="<? echo $detail['license']?>"><? echo $detail['license']?></option>

      </select>
    </div>
  </div>
  


<?  
	$agean_list=select_lines_all_items($table_Prefix."employee","nid desc","","0"); 
?>
  
  <div class="layui-form-item">
    <label class="layui-form-label">介绍人</label>
    <div class="layui-input-block">
      <select name="agent" lay-search="">
        <option value="<? echo $detail['agentid']?>"><? echo $detail['agentid']." : ".$detail['agent']?></option>
 
  
  <? for($i=0;$i<count($agean_list);$i++){ ?>
          <option value="<? echo $agean_list[$i]['nid'] ?>"><? echo $agean_list[$i]['nid'] ?> : <? echo $agean_list[$i]['name'] ?></option> 
  <? } ?>
      </select>
    </div>
  </div>
  
  
  
  
  
<?  
	$coach_list=select_lines_all_items($table_Prefix."employee","nid desc","coach = '1'","0"); 
?>
  <div class="layui-form-item">
    <label class="layui-form-label">教练员</label>
    <div class="layui-input-block">
      <select name="coach" lay-search="">
        <option value="<? echo $detail['coachid']?>"><? echo $detail['coachid']." : ".$detail['coach']?></option>
  
  <? for($i=0;$i<count($coach_list);$i++){ ?>
          <option value="<? echo $coach_list[$i]['nid'] ?>"><? echo $coach_list[$i]['nid'] ?> : <? echo $coach_list[$i]['name'] ?></option> 
  <? } ?>
      </select>
    </div>
  </div>
  
  
  
  
  
 
 <?  
	$department_list=select_lines_all_items($table_Prefix."department","nid desc","","0");
?>
		
		
   <div class="layui-form-item">
    <label class="layui-form-label">网点</label>
    <div class="layui-input-block">
      <select name="department" >
	  
        <option value="<? echo $detail['departmentid']?>"><? echo $detail['department']?></option>
		
		<?for($i=0;$i<count($department_list);$i++){?>
        <option value="<? echo $department_list[$i]['nid'] ?>"><? echo $department_list[$i]['name'];?></option> 
		<? ;} ?>
      </select>
    </div>
  </div>
  
  
    <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">备注</label>
    <div class="layui-input-block">
      <textarea name="remark" placeholder="备注" class="layui-textarea"><? echo $detail['remark']?></textarea>
    </div>
  </div>
  
  
  
  
 
 
 
 


  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="formMemberAdd" type="submit">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>



 
</form>




<!--container端點01-->
</div>


<?php include ROOT_PATH_ . "/controller/common/module/footer.php"; ?> </body>
</html>
